package com.football.feign.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserSchemeRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public UserSchemeRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUsrnoIsNull() {
            addCriterion("usrno is null");
            return (Criteria) this;
        }

        public Criteria andUsrnoIsNotNull() {
            addCriterion("usrno is not null");
            return (Criteria) this;
        }

        public Criteria andUsrnoEqualTo(String value) {
            addCriterion("usrno =", value, "usrno");
            return (Criteria) this;
        }

        public Criteria andUsrnoNotEqualTo(String value) {
            addCriterion("usrno <>", value, "usrno");
            return (Criteria) this;
        }

        public Criteria andUsrnoGreaterThan(String value) {
            addCriterion("usrno >", value, "usrno");
            return (Criteria) this;
        }

        public Criteria andUsrnoGreaterThanOrEqualTo(String value) {
            addCriterion("usrno >=", value, "usrno");
            return (Criteria) this;
        }

        public Criteria andUsrnoLessThan(String value) {
            addCriterion("usrno <", value, "usrno");
            return (Criteria) this;
        }

        public Criteria andUsrnoLessThanOrEqualTo(String value) {
            addCriterion("usrno <=", value, "usrno");
            return (Criteria) this;
        }

        public Criteria andUsrnoLike(String value) {
            addCriterion("usrno like", value, "usrno");
            return (Criteria) this;
        }

        public Criteria andUsrnoNotLike(String value) {
            addCriterion("usrno not like", value, "usrno");
            return (Criteria) this;
        }

        public Criteria andUsrnoIn(List<String> values) {
            addCriterion("usrno in", values, "usrno");
            return (Criteria) this;
        }

        public Criteria andUsrnoNotIn(List<String> values) {
            addCriterion("usrno not in", values, "usrno");
            return (Criteria) this;
        }

        public Criteria andUsrnoBetween(String value1, String value2) {
            addCriterion("usrno between", value1, value2, "usrno");
            return (Criteria) this;
        }

        public Criteria andUsrnoNotBetween(String value1, String value2) {
            addCriterion("usrno not between", value1, value2, "usrno");
            return (Criteria) this;
        }

        public Criteria andUnoIsNull() {
            addCriterion("uno is null");
            return (Criteria) this;
        }

        public Criteria andUnoIsNotNull() {
            addCriterion("uno is not null");
            return (Criteria) this;
        }

        public Criteria andUnoEqualTo(String value) {
            addCriterion("uno =", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoNotEqualTo(String value) {
            addCriterion("uno <>", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoGreaterThan(String value) {
            addCriterion("uno >", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoGreaterThanOrEqualTo(String value) {
            addCriterion("uno >=", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoLessThan(String value) {
            addCriterion("uno <", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoLessThanOrEqualTo(String value) {
            addCriterion("uno <=", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoLike(String value) {
            addCriterion("uno like", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoNotLike(String value) {
            addCriterion("uno not like", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoIn(List<String> values) {
            addCriterion("uno in", values, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoNotIn(List<String> values) {
            addCriterion("uno not in", values, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoBetween(String value1, String value2) {
            addCriterion("uno between", value1, value2, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoNotBetween(String value1, String value2) {
            addCriterion("uno not between", value1, value2, "uno");
            return (Criteria) this;
        }

        public Criteria andPrnoIsNull() {
            addCriterion("prno is null");
            return (Criteria) this;
        }

        public Criteria andPrnoIsNotNull() {
            addCriterion("prno is not null");
            return (Criteria) this;
        }

        public Criteria andPrnoEqualTo(String value) {
            addCriterion("prno =", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoNotEqualTo(String value) {
            addCriterion("prno <>", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoGreaterThan(String value) {
            addCriterion("prno >", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoGreaterThanOrEqualTo(String value) {
            addCriterion("prno >=", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoLessThan(String value) {
            addCriterion("prno <", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoLessThanOrEqualTo(String value) {
            addCriterion("prno <=", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoLike(String value) {
            addCriterion("prno like", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoNotLike(String value) {
            addCriterion("prno not like", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoIn(List<String> values) {
            addCriterion("prno in", values, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoNotIn(List<String> values) {
            addCriterion("prno not in", values, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoBetween(String value1, String value2) {
            addCriterion("prno between", value1, value2, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoNotBetween(String value1, String value2) {
            addCriterion("prno not between", value1, value2, "prno");
            return (Criteria) this;
        }

        public Criteria andEdnoIsNull() {
            addCriterion("edno is null");
            return (Criteria) this;
        }

        public Criteria andEdnoIsNotNull() {
            addCriterion("edno is not null");
            return (Criteria) this;
        }

        public Criteria andEdnoEqualTo(String value) {
            addCriterion("edno =", value, "edno");
            return (Criteria) this;
        }

        public Criteria andEdnoNotEqualTo(String value) {
            addCriterion("edno <>", value, "edno");
            return (Criteria) this;
        }

        public Criteria andEdnoGreaterThan(String value) {
            addCriterion("edno >", value, "edno");
            return (Criteria) this;
        }

        public Criteria andEdnoGreaterThanOrEqualTo(String value) {
            addCriterion("edno >=", value, "edno");
            return (Criteria) this;
        }

        public Criteria andEdnoLessThan(String value) {
            addCriterion("edno <", value, "edno");
            return (Criteria) this;
        }

        public Criteria andEdnoLessThanOrEqualTo(String value) {
            addCriterion("edno <=", value, "edno");
            return (Criteria) this;
        }

        public Criteria andEdnoLike(String value) {
            addCriterion("edno like", value, "edno");
            return (Criteria) this;
        }

        public Criteria andEdnoNotLike(String value) {
            addCriterion("edno not like", value, "edno");
            return (Criteria) this;
        }

        public Criteria andEdnoIn(List<String> values) {
            addCriterion("edno in", values, "edno");
            return (Criteria) this;
        }

        public Criteria andEdnoNotIn(List<String> values) {
            addCriterion("edno not in", values, "edno");
            return (Criteria) this;
        }

        public Criteria andEdnoBetween(String value1, String value2) {
            addCriterion("edno between", value1, value2, "edno");
            return (Criteria) this;
        }

        public Criteria andEdnoNotBetween(String value1, String value2) {
            addCriterion("edno not between", value1, value2, "edno");
            return (Criteria) this;
        }

        public Criteria andUsrdateIsNull() {
            addCriterion("usrdate is null");
            return (Criteria) this;
        }

        public Criteria andUsrdateIsNotNull() {
            addCriterion("usrdate is not null");
            return (Criteria) this;
        }

        public Criteria andUsrdateEqualTo(Date value) {
            addCriterion("usrdate =", value, "usrdate");
            return (Criteria) this;
        }

        public Criteria andUsrdateNotEqualTo(Date value) {
            addCriterion("usrdate <>", value, "usrdate");
            return (Criteria) this;
        }

        public Criteria andUsrdateGreaterThan(Date value) {
            addCriterion("usrdate >", value, "usrdate");
            return (Criteria) this;
        }

        public Criteria andUsrdateGreaterThanOrEqualTo(Date value) {
            addCriterion("usrdate >=", value, "usrdate");
            return (Criteria) this;
        }

        public Criteria andUsrdateLessThan(Date value) {
            addCriterion("usrdate <", value, "usrdate");
            return (Criteria) this;
        }

        public Criteria andUsrdateLessThanOrEqualTo(Date value) {
            addCriterion("usrdate <=", value, "usrdate");
            return (Criteria) this;
        }

        public Criteria andUsrdateIn(List<Date> values) {
            addCriterion("usrdate in", values, "usrdate");
            return (Criteria) this;
        }

        public Criteria andUsrdateNotIn(List<Date> values) {
            addCriterion("usrdate not in", values, "usrdate");
            return (Criteria) this;
        }

        public Criteria andUsrdateBetween(Date value1, Date value2) {
            addCriterion("usrdate between", value1, value2, "usrdate");
            return (Criteria) this;
        }

        public Criteria andUsrdateNotBetween(Date value1, Date value2) {
            addCriterion("usrdate not between", value1, value2, "usrdate");
            return (Criteria) this;
        }

        public Criteria andUsrpriceIsNull() {
            addCriterion("usrprice is null");
            return (Criteria) this;
        }

        public Criteria andUsrpriceIsNotNull() {
            addCriterion("usrprice is not null");
            return (Criteria) this;
        }

        public Criteria andUsrpriceEqualTo(String value) {
            addCriterion("usrprice =", value, "usrprice");
            return (Criteria) this;
        }

        public Criteria andUsrpriceNotEqualTo(String value) {
            addCriterion("usrprice <>", value, "usrprice");
            return (Criteria) this;
        }

        public Criteria andUsrpriceGreaterThan(String value) {
            addCriterion("usrprice >", value, "usrprice");
            return (Criteria) this;
        }

        public Criteria andUsrpriceGreaterThanOrEqualTo(String value) {
            addCriterion("usrprice >=", value, "usrprice");
            return (Criteria) this;
        }

        public Criteria andUsrpriceLessThan(String value) {
            addCriterion("usrprice <", value, "usrprice");
            return (Criteria) this;
        }

        public Criteria andUsrpriceLessThanOrEqualTo(String value) {
            addCriterion("usrprice <=", value, "usrprice");
            return (Criteria) this;
        }

        public Criteria andUsrpriceLike(String value) {
            addCriterion("usrprice like", value, "usrprice");
            return (Criteria) this;
        }

        public Criteria andUsrpriceNotLike(String value) {
            addCriterion("usrprice not like", value, "usrprice");
            return (Criteria) this;
        }

        public Criteria andUsrpriceIn(List<String> values) {
            addCriterion("usrprice in", values, "usrprice");
            return (Criteria) this;
        }

        public Criteria andUsrpriceNotIn(List<String> values) {
            addCriterion("usrprice not in", values, "usrprice");
            return (Criteria) this;
        }

        public Criteria andUsrpriceBetween(String value1, String value2) {
            addCriterion("usrprice between", value1, value2, "usrprice");
            return (Criteria) this;
        }

        public Criteria andUsrpriceNotBetween(String value1, String value2) {
            addCriterion("usrprice not between", value1, value2, "usrprice");
            return (Criteria) this;
        }

        public Criteria andUsrtimeIsNull() {
            addCriterion("usrtime is null");
            return (Criteria) this;
        }

        public Criteria andUsrtimeIsNotNull() {
            addCriterion("usrtime is not null");
            return (Criteria) this;
        }

        public Criteria andUsrtimeEqualTo(Date value) {
            addCriterion("usrtime =", value, "usrtime");
            return (Criteria) this;
        }

        public Criteria andUsrtimeNotEqualTo(Date value) {
            addCriterion("usrtime <>", value, "usrtime");
            return (Criteria) this;
        }

        public Criteria andUsrtimeGreaterThan(Date value) {
            addCriterion("usrtime >", value, "usrtime");
            return (Criteria) this;
        }

        public Criteria andUsrtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("usrtime >=", value, "usrtime");
            return (Criteria) this;
        }

        public Criteria andUsrtimeLessThan(Date value) {
            addCriterion("usrtime <", value, "usrtime");
            return (Criteria) this;
        }

        public Criteria andUsrtimeLessThanOrEqualTo(Date value) {
            addCriterion("usrtime <=", value, "usrtime");
            return (Criteria) this;
        }

        public Criteria andUsrtimeIn(List<Date> values) {
            addCriterion("usrtime in", values, "usrtime");
            return (Criteria) this;
        }

        public Criteria andUsrtimeNotIn(List<Date> values) {
            addCriterion("usrtime not in", values, "usrtime");
            return (Criteria) this;
        }

        public Criteria andUsrtimeBetween(Date value1, Date value2) {
            addCriterion("usrtime between", value1, value2, "usrtime");
            return (Criteria) this;
        }

        public Criteria andUsrtimeNotBetween(Date value1, Date value2) {
            addCriterion("usrtime not between", value1, value2, "usrtime");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}
